0:00–0:10
Recap
0:10–0:40
Lecture
0:40–1:40
Guided Lab
1:40–1:50
Bonus
1:50–2:00
Debrief
0:00 – 0:10 Recap · 10 min

Day 2 review & the limitation of per-user MFA

0:10 – 0:40 Lecture · 30 min

The Conditional Access policy model — conditions, controls, sessions

Conditional Access is the most powerful identity security tool in M365. It is also the easiest to misconfigure in ways that lock users out or leave gaps. Students need to understand the model deeply before building policies.

ConditionWhat it evaluatesExample
Users and groupsWho the policy applies to — all users, specific groups, specific roles, or guest usersApply to LL-AllStaff; exclude Break Glass account
Cloud appsWhich apps or services the policy coversAll cloud apps, or just Exchange Online, or just Azure portal
Conditions → Sign-in riskEntra ID's ML-based assessment of whether the sign-in looks suspicious (requires P2)Apply extra controls if risk is Medium or High
Conditions → User riskAssessment of whether the user account itself may be compromised (requires P2)Force password change if user risk is High
Conditions → Device platformsOS of the device signing inApply different controls to iOS vs Windows
Conditions → LocationsNamed locations (IP ranges) or countriesBlock sign-ins from countries outside Canada
Conditions → Client appsModern auth clients vs legacy auth (SMTP, POP, IMAP)Block all legacy authentication
Control typeOptionsWhen to use
GrantRequire MFA · Require compliant device · Require Entra hybrid join · Require approved app · Block accessDefine what must be true for access to be granted
SessionSign-in frequency · Persistent browser session · App-enforced restrictions · Continuous access evaluationControl how long a session lasts and how it behaves
Instructor note: The report-only mode concept is worth spending extra time on. In production environments, CA misconfigurations are one of the most common causes of tenant-wide outages. Students who internalise "report-only first, always" will avoid a lot of pain in their careers. Consider showing the Sign-in logs filtered to report-only results on the projector so they can see what it looks like in practice.
0:40 – 1:40 Guided lab · 60 min

Lab 2-C: Building Conditional Access policies for Lakeview Logistics

Students build four CA policies covering the most important real-world scenarios — MFA for all users, admin protection, legacy auth blocking, and location-based access control. All policies start in Report-only mode. Students then review sign-in logs to observe policy evaluation results.

Licence note: Conditional Access requires Entra ID P1. On Business Standard these policies can be created and will appear in the portal, but they may not evaluate or enforce. Build every policy correctly and document your work — everything configured today will be validated and tested when E5 is added in Week 5. Treat this as designing the security architecture, not yet activating it.
SettingValue
NameCA001 — Require MFA for all users
UsersInclude: All users · Exclude: your Global Admin account (break-glass exclusion)
Target resourcesAll cloud apps
Conditions → LocationsExclude: Lakeview Logistics — Trusted Network
GrantGrant access · Require multifactor authentication
Policy stateReport-only
SettingValue
NameCA002 — Require MFA for admin roles
UsersInclude: Directory roles → select all roles assigned in Day 1 · Exclude: your Global Admin account
Target resourcesAll cloud apps
Conditions → LocationsNo location exclusion — admins must MFA regardless of location
GrantGrant access · Require MFA · Require authentication strength: Multifactor authentication
Policy stateReport-only
SettingValue
NameCA003 — Block legacy authentication
UsersInclude: All users · Exclude: your Global Admin account
Target resourcesAll cloud apps
Conditions → Client appsExchange ActiveSync clients: Yes · Other clients: Yes (these are the legacy auth protocols)
GrantBlock access
Policy stateReport-only
SettingValue
NameCA004 — Block sign-ins from outside Canada
UsersInclude: All users · Exclude: your Global Admin account
Target resourcesAll cloud apps
Conditions → LocationsInclude: Any location · Exclude: Lakeview Logistics — Allowed Countries
GrantBlock access
Policy stateReport-only
Instructor note: Step 6 is the payoff — students see their policies evaluated against real sign-in events in the log. Even in Report-only mode this is visible and instructive. If the portal is showing no results yet due to the licence gate, demo on a pre-configured tenant so students can see what a live evaluation looks like. The What If tool works regardless of licence state and is worth spending extra time on.
1:40 – 1:50 Bonus material · 10 min

⭐ Bonus: Sign-in risk policy & CA policy audit via PowerShell

⭐ Bonus A — Sign-in risk policy (Entra ID P2 preview)
  • Navigate to entra.microsoft.comProtection → Conditional Access → + New policy
  • Build a fifth policy: CA005 — Require MFA for risky sign-ins
  • Users: All users (exclude Global Admin) · Apps: All cloud apps · Conditions → Sign-in risk: Medium and above · Grant: Require MFA · State: Report-only
  • Note whether the Sign-in risk condition is available on Business Standard — document what you see
  • In your Lab Journal: explain what a "risky sign-in" is in Entra ID's context, how the risk score is calculated, and why this policy is more intelligent than a blanket MFA requirement. What additional licence would be needed to activate it?
⭐ Bonus B — Export CA policy configuration via PowerShell
  • Connect to Microsoft Graph: Connect-MgGraph -Scopes "Policy.Read.All"
  • Export all CA policies:
    Get-MgIdentityConditionalAccessPolicy | Select-Object DisplayName, State, @{N="Conditions";E={$_.Conditions | ConvertTo-Json -Compress}}, @{N="GrantControls";E={$_.GrantControls | ConvertTo-Json -Compress}} | Format-Table -AutoSize
  • Export to JSON for documentation: Get-MgIdentityConditionalAccessPolicy | ConvertTo-Json -Depth 10 | Out-File .\CA_Policies_Export.json
  • In your Lab Journal: why is exporting CA policy configuration important from a change management and disaster recovery perspective?
1:50 – 2:00 Debrief · 10 min

Reflection & preview

Learning outcomes — by end of Day 3, students can…
Explain the CA policy modelDescribe the If/Then structure, conditions, grant controls, and session controls
Build real-world CA policiesCreate MFA enforcement, admin protection, legacy auth blocking, and location-based policies
Use report-only mode correctlyDeploy policies in report-only, explain why it is required, and describe the validation process before enabling
Configure named locationsCreate trusted IP range and allowed country locations for use in CA conditions
Use the What If toolEvaluate which policies would apply to a given sign-in scenario
Read sign-in logsLocate CA evaluation results in the Entra sign-in log for a specific sign-in event
What you need ready
Lab network public IP address Microsoft Graph PowerShell SDK Pre-configured demo tenant for sign-in log demo (optional) Lab 2-C step sheet Slide deck: CA policy model diagram
Day 4 →Week 2 Overview